package com.dd.cloud.user.entity.mechan;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(comment = "机构审核记录表")
public class MechanReviewLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 机构id
     */
    @Column(comment = "机构id")
    private Integer mechanId;

    /**
     * 审核申请记录id
     */
    @Column(comment = "审核申请记录id")
    private Integer applyId;

    /**
     * 审核状态 1正常 5拒绝
     */
    @Column(type = MySqlTypeConstant.TINYINT, comment = "审核状态 1正常 5拒绝 51拒绝(正常使用)")
    private Integer status;

    /**
     * 审核信息
     */
    @Column(length = 200, comment = "审核信息")
    private String msg;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;

    /**
     * 创建人id
     */
    @Column(comment = "创建人id")
    private Integer createId;
}
